home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / m68k / 492 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  898 b 

  1. Path: rusxppp152.rus.uni-stuttgart.de!user
  2. From: sparkie@studbox.uni-stuttgart.de (Georg Heinrich)
  3. Newsgroups: comp.sys.m68k
  4. Subject: calloc problem
  5. Date: Thu, 28 Mar 1996 06:29:36 +0200
  6. Organization: privat
  7. Message-ID: <sparkie-2803960629360001@rusxppp152.rus.uni-stuttgart.de>
  8. NNTP-Posting-Host: rusxppp152.rus.uni-stuttgart.de
  9.  
  10. Developing a Testsoftware for a cpu-board with the 68020 I have the following
  11. problem:
  12. The program is written in C, compiled and linked with the Mikrotek 68k-tools.
  13. I have two pointers. One is a global variable and the other is a local variable.
  14. Both are allocated in the main function. And both get the same address back from
  15. the calloc function.
  16. Any idea what the fault may be?
  17. It is the first time for me to do hardware-programming. So this may be a simple
  18. problem to you, but not to me. Maybe a linker option I do not no ...(?)
  19.  
  20. Thanks for your help.
  21. G. Heinrich
  22.